<template>
  <div class="sonb">
    <h3>sonb</h3>
  </div>
</template>
<script>
export default {
  mounted() {
    this.$bus.$on('atob', (str) => {
      console.log('sonb:', str)
    })
  },
  beforeDestroy() {
    this.$bus.$off('atob')
  }
}
</script>
<style lang="scss" scoped>
.sonb {
  width: 200px;
  height: 200px;
  border: 2px solid rgb(3, 3, 3);
}
</style>
